﻿using System.Collections.Generic;
using FX.CC.Andon.Entity.BasicDataManage;

namespace FX.CC.Andon.Business
{
    public class FlowComparer : IEqualityComparer<FlowEntity>
    {
        public bool Equals(FlowEntity x, FlowEntity y)
        {
            return x.FlowID == y.FlowID;
        }

        public int GetHashCode(FlowEntity obj)
        {
            return obj.EqID.GetHashCode();
        }
    }
}
